<script type="text/javascript">
dojo.require("dijit.Editor");
dojo.require("dijit._editor.plugins.ViewSource");
dojo.require("dijit._editor.plugins.LinkDialog");
dojo.require("dijit._editor.plugins.FontChoice");
dojo.require("dijit._editor.plugins.TextColor");
dojo.require("dojox.editor.plugins.ToolbarLineBreak");
dojo.require("dojox.editor.plugins.PasteFromWord");
</script>
<div dojoType="dijit.Editor" id="{{field.id}}-editor" onChange="dojo.byId('{{field.id}}').value = arguments[0];" styleSheets="{{baseurl}}system/css/forms/dojo-richtext.css"
plugins="['cut','copy','paste','pasteFromWord','|','bold','italic','underline','strikethrough','subscript','superscript', '|', 'indent', 'outdent', 'justifyLeft', 'justifyCenter', 'justifyRight', '|', 'insertOrderedList', 'insertUnorderedList', '|', 'removeFormat', '|', 'createLink','insertImage', '|','viewsource']">{{field.value}}</div>
<input type="hidden" id='{{field.id}}' name='{{field.name}}' value="{{field.value|escape:'htmlquotes'}}">